#!/bin/bash
# update mysql and sqlite schemas if mysql schema is changed
# this is for development (sqlite is very inconvenient to use as the main DB)
 
mysqldump --compact -d qtxpost -p > mysql.schema
mysql2sqlite.pl
mysql2oneline.pl
cp mysql.schema sqlite.schema ../sql
